#ifndef H_AASCREEN
#define H_AASCREEN

#include <aalib.h>
#include <iostream>
#include "Screen.h"

class AA_Screen: public Screen {
   private:
      struct aa_context *context;
      unsigned char* framebuffer;
      int aaScrWidth;
      int aaScrHeight;

   public:
      AA_Screen ( int _w, int _h ) : Screen ( _w, _h ) {}
      virtual int init ();
      virtual void done ();
      virtual void draw ( int, int, char);
      virtual void render ();
      virtual int flush ();
      struct aa_context *getContext () { return context; }
};

#endif
